package com.dst.dao;

import com.dst.eneity.Phone;

import javax.swing.event.ListDataEvent;
import java.util.List;

public interface PhoneDao {
    List<Phone> selectAllPhoneDao();
    void deletByIdDao(int id);
    void addPhoneDao(Phone phone);
    Phone selectByIdPhoneDao(int id);
    void updatePhoneController(int id,Phone phone);
    void batchDleteDao(int [] ids);
    List<Phone> selectLimitPhoneDao(int begin,int end);
    List<Phone> select(int Brand_id);
    List<Phone> selectPage(int page,int pagesize);
    int selectCount();
}
